<?php
/**
 * The loop that displays a single post.
 *
 * The loop displays the posts and the post content.  See
 * http://codex.wordpress.org/The_Loop to understand it and
 * http://codex.wordpress.org/Template_Tags to understand
 * the tags used in it.
 *
 * This can be overridden in child themes with loop-single.php.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.2
 */
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
					<h1 class="entry-title"><?php the_title(); ?></h1>
                    <p class="postmetadata m">发表于 <?php the_time(Y年n月j日) ?>,被浏览<?php the_views(); ?>次</p>
					<div class="entry-content">
						<?php the_content(); ?>
						<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
					</div><!-- .entry-content -->

				</div><!-- #post-## -->

				<div id="nav-below" class="m">
					<div class="nav-previous"><img src="<?php bloginfo('template_url'); ?>/images/nav_previous.jpg" alt="sample" /><?php previous_post_link( '%link', '%title'); ?></div>
					<div class="nav-next"><?php next_post_link( '%link', '%title'); ?><img src="<?php bloginfo('template_url'); ?>/images/nav_next.jpg" alt="sample" /></div>
				</div><!-- #nav-below -->



<?php endwhile; // end of the loop. ?>